/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2018-2019.
 * Description: support debug_ll
 * Author: liangfangping <liangfangping@huawei.com>
 * Create: 2018-10-29
 */

#ifndef _DEBUG_LL_H
#define _DEBUG_LL_H
#ifdef CONFIG_START_MEM_2M_ALIGN
	#define ARCH_HISI_DEBUG_BASE_ALIGN      (0xFFF00000)
#else
	#define ARCH_HISI_DEBUG_BASE_ALIGN      (0xFF000000)
#endif
#define ARCH_HISI_DEBUG_BASE            (0x00000e00)
#define ARCH_HISI_UART_ADDR_OFFSET      (0x00000004)
#define ARCH_HISI_UART_FLAG_OFFSET      (0x00000000)
#define ARCH_HISI_UART_VIRT_OFFSET      (0x00000008)
#define LPAE_PAGE_MASK                  (0x1FFFFF)
#define NO_LPAE_PAGE_MASK               (0xFFFFF)

#endif
